<template>
  <div>
    <div class="top">
      <div class="titler">{{title}}</div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "top",
    props: ["title"]
  }
</script>

<style lang="scss">
  @import "~@/smobile.scss";
  .top {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    .titler {
      text-align: center;
      font-size: 18px;
      font-weight: 500;
    }
  }
</style>